/*
 * @Author: 蔡雅文 1545846250@qq.com
 * @Date: 2022-12-06 14:37:55
 * @LastEditors: 蔡雅文 1545846250@qq.com
 * @LastEditTime: 2022-12-20 14:29:31
 * @FilePath: \cms\src\api\repair\repairBusiness\supplierInformation\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import axios from '@/api/fetch';
//import * as types from './types';
import SERVER from '@/api/server';

//供应商信息维护-主页面查询
export const getListByPage = params => axios.post(`${SERVER.CLAIMFAC}/supplier/getListByPage`, params);

//通过ID查
// export const selectById = params => axios.get(`${SERVER.CLAIMFAC}/returnStockInfo/queryPassPartById/${params.id}`);

//供应商信息维护信息的保存
export const editSave = params => axios.post(`${SERVER.CLAIMFAC}/supplier/updateData`, params);

export const getSupplierList = params => axios.post(`${SERVER.CLAIMFAC}/supplier/getListByPage`, params);
